package com.tour.model;

import java.sql.Timestamp;

/**
 * TicketOrder entity. @author MyEclipse Persistence Tools
 */

public class TicketOrder implements java.io.Serializable {

	// Fields

	private Integer orderId;
	private Integer memberId;
	private String trueName;
	private String tel;
	private String sceneryName;
	private Integer price;
	private Integer number;
	private Timestamp playDate;
	private Timestamp takeDate;
	private String payType;
	private Integer state;

	// Constructors

	/** default constructor */
	public TicketOrder() {
	}

	/** minimal constructor */
	public TicketOrder(Integer memberId, String sceneryName, Integer price,
			Integer number, Timestamp playDate, Timestamp takeDate) {
		this.memberId = memberId;
		this.sceneryName = sceneryName;
		this.price = price;
		this.number = number;
		this.playDate = playDate;
		this.takeDate = takeDate;
	}

	/** full constructor */
	public TicketOrder(Integer memberId, String trueName, String tel,
			String sceneryName, Integer price, Integer number,
			Timestamp playDate, Timestamp takeDate, String payType,
			Integer state) {
		this.memberId = memberId;
		this.trueName = trueName;
		this.tel = tel;
		this.sceneryName = sceneryName;
		this.price = price;
		this.number = number;
		this.playDate = playDate;
		this.takeDate = takeDate;
		this.payType = payType;
		this.state = state;
	}

	// Property accessors

	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getMemberId() {
		return this.memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public String getTrueName() {
		return this.trueName;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getSceneryName() {
		return this.sceneryName;
	}

	public void setSceneryName(String sceneryName) {
		this.sceneryName = sceneryName;
	}

	public Integer getPrice() {
		return this.price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Integer getNumber() {
		return this.number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Timestamp getPlayDate() {
		return this.playDate;
	}

	public void setPlayDate(Timestamp playDate) {
		this.playDate = playDate;
	}

	public Timestamp getTakeDate() {
		return this.takeDate;
	}

	public void setTakeDate(Timestamp takeDate) {
		this.takeDate = takeDate;
	}

	public String getPayType() {
		return this.payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}